import axios from 'axios'

export default class FormService {
    static formService = null

    static getInstance() {
        if (this.formService == null) {
            this.formService = new FormService()
        }
        return this.formService
    }

    selectMybacklog(params) {
        return axios.get(`http://localhost/forms/dbds`, {
            params: params
        })
    }

    zhuyedeshenqing() {
        return axios.get(`http://localhost/forms/zhuyedeshenqing`)
    }

    /**
     * 根据id删除
     * @param id
     */
    remove(id) {
        return axios.delete(`http://localhost/forms/${id}`)
    }

}
